package com.atguigu.controller;

import com.atguigu.client.ProductFeignClient;
import com.atguigu.client.SearchFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class WebLoginController {
    @RequestMapping("login.html")
    public String login(HttpServletRequest request) {
        String originalUrl = request.getParameter("originalUrl");
        request.setAttribute("originalUrl",originalUrl);
        return "login";
    }

}
